package com.yimi.yinhepda.entity.response;

/**
 * @author: lj
 * Date: 2020/3/16 17:54
 * Description:校验自提网点是否可以改单响应实体
 */
public class ZiTiCheckResponse {

    private boolean success;
    private String errorcode;
    private ResultApplyWaybill data;
    private String errormessage;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getErrorcode() {
        return errorcode;
    }

    public void setErrorcode(String errorcode) {
        this.errorcode = errorcode;
    }

    public ResultApplyWaybill getData() {
        return data;
    }

    public void setData(ResultApplyWaybill data) {
        this.data = data;
    }

    public String getErrormessage() {
        return errormessage;
    }

    public void setErrormessage(String errormessage) {
        this.errormessage = errormessage;
    }

    public class ResultApplyWaybill{

        /**
         * waybillNo : 103465805265
         * success : 1
         * errorMsg : 新目的网点名称不能为空
         */

        private long waybillNo;
        /**
         * 处理结果 【0成功|1失败|2无需更改】
         */
        private int success;
        private String errorMsg;

        public long getWaybillNo() {
            return waybillNo;
        }

        public void setWaybillNo(long waybillNo) {
            this.waybillNo = waybillNo;
        }

        public int getSuccess() {
            return success;
        }

        public void setSuccess(int success) {
            this.success = success;
        }

        public String getErrorMsg() {
            return errorMsg;
        }

        public void setErrorMsg(String errorMsg) {
            this.errorMsg = errorMsg;
        }
    }
}
